package com.vic.dubbo._5yibudiaoyong;

import java.io.Serializable;

public class Person implements Serializable {
    private int age;
    private String name;
    public Person(){}
    public Person(int age , String name){
        this.age= age;
        this.name=name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String  toString(){
        StringBuffer  buffer= new StringBuffer();
        buffer.append("name:"+name+"\t");
        buffer.append("age:"+age);
        return buffer.toString();

    }
}
